package com.xt.service;

import com.xt.bean.Library;
import com.xt.dto.LibraryListSearchDto;
import org.springframework.data.domain.Page;

/**
 * Created by XT on 2018/5/8.
 */
public interface LibraryService {
    void saveOrUpdateOne(Library a);

    void deleteOne(String id);

    Library getById(String id);

    Page<Library> getPage(LibraryListSearchDto dto);

}
